<style>
.scroll-content {
    overflow: scroll;
}

input[type="radio" i],
input[type="checkbox" i] {
    background-color: #7ED321!important;
}
</style>
<ion-view view-title="周边游" class="home-wrap order" ng-init="getPrice()">
    <ion-content scroll="false">
        <div class="calmonth noprice mb10">
            <div class="caltitle">
                <i class="icon icon-arrow-right arrow-left" ng-class="{'icon-disabled':downLimit}" ng-click="prev()"></i>
                <b ng-bind="current_day"></b>
                <i class="icon icon-arrow-right" ng-class="{'icon-disabled':upLimit}" ng-click="next()"></i>
            </div>
            <div id='calendar'></div>
            <div class="fading"><em style="background-color:#FAEED7"></em>：法定假日&nbsp;&nbsp;&nbsp;<em style="background-color:#eee"></em>:不可选</div>
        </div>
        <div class="content-bg list-shortborder amountlist">
            <ul>
                <li>
                    <span class="f16">成人&nbsp;&nbsp;<em class="orange f14">单价 ￥
                    <em ng-if="order.adultnum==0" ng-bind="0"></em>
                    <em ng-if="order.adultnum==1" ng-bind="ondayinfo.one_price|number:2"></em>
                    <em ng-if="order.adultnum==2" ng-bind="ondayinfo.two_price|number:2"></em>
                    <em ng-if="order.adultnum==3" ng-bind="ondayinfo.three_price|number:2"></em>
                    <em ng-if="order.adultnum>=4" ng-bind="ondayinfo.four_price|number:2"></em></em></span>
                    <div class="amoutinput">
                        <i class="icon icon-minus greenC" ng-class="{'grayicon':order.adultnum<=0}" ng-click="minus(1)"></i>
                        <input type="number" ng-model="order.adultnum">
                        <i class="icon icon-plus greenC" ng-click="plus(1)"></i>
                    </div>
                </li>
                <li>
                    <span class="f16">1.2米以下儿童&nbsp;&nbsp;<em class="orange f14">单价 ￥
                    <em ng-if="order.adultnum==0" ng-bind="0"></em>
                    <em ng-if="order.adultnum==1" ng-bind="ondayinfo.one_price*.7|number:2"></em>
                    <em ng-if="order.adultnum==2" ng-bind="ondayinfo.two_price*.7|number:2"></em>
                    <em ng-if="order.adultnum==3" ng-bind="ondayinfo.three_price*.7|number:2"></em>
                    <em ng-if="order.adultnum>=4" ng-bind="ondayinfo.four_price*.7|number:2"></em>
                    </em></span>
                    <div class="amoutinput">
                        <i class="icon icon-minus greenC" ng-class="{'grayicon':order.childernum<=0}" ng-click="minus(2)"></i>
                        <input type="number" ng-model="order.childernum">
                        <i class="icon icon-plus greenC" ng-click="plus(2)"></i>
                    </div>
                </li>
                <li>
                    <span class="f16">1.2-1.4米儿童&nbsp;&nbsp;<em class="orange f14">单价 ￥
                    <em ng-if="order.adultnum==0" ng-bind="0"></em>
                    <em ng-if="order.adultnum==1" ng-bind="ondayinfo.one_price*.85|number:2"></em>
                    <em ng-if="order.adultnum==2" ng-bind="ondayinfo.two_price*.85|number:2"></em>
                    <em ng-if="order.adultnum==3" ng-bind="ondayinfo.three_price*.85|number:2"></em>
                    <em ng-if="order.adultnum>=4" ng-bind="ondayinfo.four_price*.85|number:2"></em>
                    </em></span>
                    <div class="amoutinput">
                        <i class="icon icon-minus greenC" ng-class="{'grayicon':order.childnum<=0}" ng-click="minus(3)"></i>
                        <input type="number" ng-model="order.childnum">
                        <i class="icon icon-plus greenC" ng-click="plus(3)"></i>
                    </div>
                </li>
            </ul>
        </div>
        <div class="remark">
            <p>注：一位成人：<em ng-bind="ondayinfo.one_price|number:2"></em>元/成人，<em ng-bind="ondayinfo.one_price*0.7|number:2"></em>元/1.2米以下儿童，<em ng-bind="ondayinfo.one_price*0.85|number:2"></em>元/1.2-1.4米儿童。两位成人：<em ng-bind="ondayinfo.two_price|number:2"></em>元/成人，<em ng-bind="ondayinfo.two_price*0.7|number:2"></em>元/1.2米以下儿童，<em ng-bind="ondayinfo.two_price*0.85|number:2"></em>元/1.2-1.4米儿童。三位成人：<em ng-bind="ondayinfo.three_price|number:2"></em>元/成人，<em ng-bind="ondayinfo.three_price*0.7|number:2"></em>元/1.2米以下儿童，<em ng-bind="ondayinfo.three_price*0.85|number:2"></em>元/1.2-1.4米儿童。<span class="assertive">儿童必须至少有一位监护人陪同。周末以及节假日价格上浮20%</span></p>
        </div>
        <div class="content-bg list-shortborder list-switch">
            <ul>
                <li>
                    <span>是否需要英文导游</span>
                    <input type="checkbox" class="weui_switch fr" ng-model="order.need_english" ng-true-value="2" ng-false-value="1">
                </li>
            </ul>
        </div>
        <div class="remark mb10">
            <p>注：英文导游需另加收300元。</p>
        </div>
    </ion-content>
    <ion-footer-bar align-title="left" class="bar-dark submitBar">
        <div class="mask" style="display: none;"></div>
        <div class="order-detail-wrap">
            <div class="order-detail">
                <h1>订单明细</h1>
            </div>
            <div class="detail-info-wrap">
                <div class="detail-info f16">
                    <ul>
                        <li>
                            <span>成人</span>
                            <p><span><em ng-bind="order.adultnum"></em> x</span><span class="orange">&nbsp;&nbsp;￥
                            <em ng-if="order.adultnum==0" ng-bind="0"></em>
                            <em ng-if="order.adultnum==1" ng-bind="ondayinfo.one_price|number:2"></em>
                            <em ng-if="order.adultnum==2" ng-bind="ondayinfo.two_price|number:2"></em>
                            <em ng-if="order.adultnum==3" ng-bind="ondayinfo.three_price|number:2"></em>
                            <em ng-if="order.adultnum>=4" ng-bind="ondayinfo.four_price|number:2"></em>
                            </span></p>
                        </li>
                        <li>
                            <span>1.2米以下儿童</span>
                            <p><span><em ng-bind="order.childernum"></em> x</span><span class="orange">&nbsp;&nbsp;￥
                             <em ng-if="order.adultnum==0" ng-bind="0"></em>
                            <em ng-if="order.adultnum==1" ng-bind="ondayinfo.one_price*.7|number:2"></em>
                            <em ng-if="order.adultnum==2" ng-bind="ondayinfo.two_price*.7|number:2"></em>
                            <em ng-if="order.adultnum==3" ng-bind="ondayinfo.three_price*.7|number:2"></em>
                            <em ng-if="order.adultnum>=4" ng-bind="ondayinfo.four_price*.7|number:2"></em>
                            </span></p>
                        </li>
                        <li>
                            <span>1.2-1.4米儿童</span>
                            <p><span><em ng-bind="order.childnum"></em> x</span><span class="orange">&nbsp;&nbsp;￥
                             <em ng-if="order.adultnum==0" ng-bind="0"></em>
                                <em ng-if="order.adultnum==1" ng-bind="ondayinfo.one_price*.85|number:2"></em>
                                <em ng-if="order.adultnum==2" ng-bind="ondayinfo.two_price*.85|number:2"></em>
                                <em ng-if="order.adultnum==3" ng-bind="ondayinfo.three_price*.85|number:2"></em>
                                <em ng-if="order.adultnum>=4" ng-bind="ondayinfo.four_price*.85|number:2"></em>
                            </span></p>
                        </li>
                        <li>
                            <span>英文导游</span>
                            <p><span></span><span class="orange">&nbsp;&nbsp;￥<em ng-bind="order.need_english==2?300.00:0"></em></span></p>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <span class="f14 light textlineheight">总额:<em class="f20">￥<em ng-bind="totalprice(order,1)|number:2"></em></em></span>
        <div class="buttons">
            <span class="f16 detail showOrder">明细<i class="icon icon-arrow-left"></i></span>
            <button class="submitBtn weui_btn weui_btn_primary" ng-click="orderNext()">下一步</button>
        </div>
    </ion-footer-bar>
</ion-view>
